#ifndef GETTHREAD_H
#define GETTHREAD_H

#include <QThread>
#include <QDebug>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkRequest>
#include <QCoreApplication>
#include <QJsonObject>
#include <QJsonParseError>
#include <QJsonDocument>

class GetThread : public QThread
{
    Q_OBJECT
private:
    QNetworkAccessManager *nam;
    void getEos();
    void getEpc();
    void setValue(QNetworkReply *reply,bool eos);

protected:
    void run();
public:
    GetThread(QObject *parent = 0);
    ~GetThread();
signals:
    void UpdateSignal(QString,bool);

};

#endif // GETTHREAD_H
